package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 * 流程配置表

 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_process_configurationable_dd")
@ApiModel(value="TbProcessConfigurationableDd对象", description="流程配置表")
public class TbProcessConfigurationableDd implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

	@ApiModelProperty(value = "开始计时")
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss SSS",
		timezone = "GMT+8"
	)
	private Date startTiming;

	@ApiModelProperty(value = "结束计时")
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss SSS",
		timezone = "GMT+8"
	)
	private Date endTiming;

	@TableField(value = "trialId")
	@ApiModelProperty(value = "试验id")
	private String trialId;

	@TableField(value = "stageId")
	@ApiModelProperty(value = "当前阶段id")
	private String stageId;

	@TableField(value = "lowerStageId")
	@ApiModelProperty(value = "下阶段id")
	private String lowerStageId;

	@TableField(value = "startCommand")
	@ApiModelProperty(value = "开始指令")
	private String startCommand;

	@TableField(value = "endCommand")
	@ApiModelProperty(value = "结束指令")
	private String endCommand;

	@TableField(value = "cameraId")
	@ApiModelProperty(value = "镜头id")
	private String cameraId;

	@TableField(value = "vehicleId")
	@ApiModelProperty(value = "车辆id")
	private String vehicleId;

	@TableField(value = "vehicleDataType")
	@ApiModelProperty(value = "车辆数据类型（实时，模拟）")
	private String vehicleDataType;

	@TableField(value = "equipmentId")
	@ApiModelProperty(value = "装填设备id")
	private String equipmentId;

	@TableField(value = "floatingCraneId")
	@ApiModelProperty(value = "浮吊设备id")
	private String floatingCraneId;

	@TableField(value = "productId")
	@ApiModelProperty(value = "产品id")
	private String productId;

	@TableField(value = "platformId")
	@ApiModelProperty(value = "水下平台id")
	private String platformId;

	@TableField(value = "subPlatformId")
	@ApiModelProperty(value = "子平台id")
	private String subPlatformId;

	@TableField(value = "flowEquipmentId")
	@ApiModelProperty(value = "流场设备id")
	private String flowEquipmentId;

	@TableField(value = "waveEquipmentId")
	@ApiModelProperty(value = "波浪设备id")
	private String waveEquipmentId;

	@TableField(value = "pressureEquipmentId")
	@ApiModelProperty(value = "压力设备id")
	private String pressureEquipmentId;

	@TableField(value = "ensureShipsId")
	@ApiModelProperty(value = "保障船只id")
	private String ensureShipsId;

	@TableField(value = "salvageShipsId")
	@ApiModelProperty(value = "打捞船只id")
	private String salvageShipsId;

	@TableField(value = "miniMapId")
	@ApiModelProperty(value = "小地图id")
	private String miniMapId;

	@TableField(value = "anchorId")
	@ApiModelProperty(value = "锚id")
	private String anchorId;

	@TableField(value = "panelSwitch")
	@ApiModelProperty(value = "面板开关")
	private Long panelSwitch;

	@TableField(value = "alarmSwitch")
	@ApiModelProperty(value = "报警开关")
	private Long alarmSwitch;

	@TableField(value = "taskStatus")
	@ApiModelProperty(value = "任务状态（调试状态 转运状态 装填状态 就位状态 部署状态 试验状态 回收状态 ）")
	private String taskStatus;

    /*@ApiModelProperty(value = "试验id")
    private String trialId;

    @ApiModelProperty(value = "当前阶段id")
    private String stageId;

    @ApiModelProperty(value = "下阶段id")
    private String lowerStageId;

    @ApiModelProperty(value = "开始指令")
    private String startCommand;

    @ApiModelProperty(value = "结束指令")
    private String endCommand;

    @ApiModelProperty(value = "镜头id")
    private String cameraId;

    @ApiModelProperty(value = "车辆id")
    private String vehicleId;

    @ApiModelProperty(value = "车辆数据类型（实时，模拟）")
    private String vehicleDataType;

    @ApiModelProperty(value = "装填设备id")
    private String equipmentId;

    @ApiModelProperty(value = "浮吊设备id")
    private String floatingCraneId;

    @ApiModelProperty(value = "产品id")
    private String productId;

    @ApiModelProperty(value = "水下平台id")
    private String platformId;

    @ApiModelProperty(value = "子平台id")
    private String subPlatformId;

    @ApiModelProperty(value = "流场设备id")
    private String flowEquipmentId;

    @ApiModelProperty(value = "波浪设备id")
    private String waveEquipmentId;

    @ApiModelProperty(value = "压力设备id")
    private String pressureEquipmentId;

    @ApiModelProperty(value = "保障船只id")
    private String ensureShipsId;

    @ApiModelProperty(value = "打捞船只id")
    private String salvageShipsId;

    @ApiModelProperty(value = "小地图id")
    private String miniMapId;

    @ApiModelProperty(value = "锚id")
    private String anchorId;

    @ApiModelProperty(value = "面板开关")
    private Long panelSwitch;

    @ApiModelProperty(value = "报警开关")
    private Long alarmSwitch;

    @ApiModelProperty(value = "任务状态（调试状态 转运状态 装填状态 就位状态 部署状态 试验状态 回收状态 ）")
    private String taskStatus;*/

    @ApiModelProperty(value = "试验日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss SSS",
            timezone = "GMT+8"
    )
    private Date projectDate;


}
